package org.java2me.mobileboxing;

import java.util.TimerTask;

/**
 * Created by IntelliJ IDEA.
 * User: aterreno
 */
public class PauseTask extends TimerTask {
    private final MobileBoxingCanvas canvas;

    public PauseTask(MobileBoxingCanvas canvas) {
        this.canvas = canvas;
    }

    public void run() {
        canvas.updateStatus(Status.PAUSE());
    }
}
